package com.kvest.ula.network.base;

import java.io.InputStream;
import java.net.URL;

import android.graphics.Bitmap;
import android.graphics.BitmapFactory;

public class ImageLoader 
{
	public static Bitmap loadImage(String url)
	{
		try
		{
 			InputStream is = (InputStream) new URL(url).getContent();
 			Bitmap result = BitmapFactory.decodeStream(is);
 			return result;
 		}
		catch (Exception e) 
 		{
 			return null;
 		}
	}
}
